Vision Transformer
2010.11929 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
https://gyazo.com/3e34edb54688398a859cebd5885955bb
While the Transformer architecture has become the de-facto standard for natural language processing tasks, its applications to computer vision remain limited. In vision, attention is either applied in conjunction with convolutional networks, or used to replace certain components of convolutional networks while keeping their overall structure in place.
We show that this reliance on CNNs is not necessary and a pure transformer applied directly to sequences of image patches can perform very well on image classification tasks.
When pre-trained on large amounts of data and transferred to multiple mid-sized or small image recognition benchmarks (ImageNet, CIFAR-100, VTAB, etc.), Vision Transformer (ViT) attains excellent results compared to state-of-the-art convolutional networks while requiring substantially fewer computational resources to train.
Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, Neil Houlsby
2020
ICLR 2021
https://ja.stateofaiguides.com/20221012-stable-diffusion/
Transformerを画像分類タスクに応用したものです。
画像を 16×16 ピクセルのパッチに分割し、それをあたかも言語の「トークン」のようにトランスフォーマーに入力し、高い分類精度を達成しました。
そんなのでいけるのか〜基素.icon
https://twitter.com/sei_shinagawa/status/1602537474588303360?s=46&t=c-o25Pa2kN4tqvxSgLmI8Q
2022-08-11 最新論文から見るビジョン・トランスフォーマー(ViT)の性能向上Tips
Vision Transformer入門